﻿using GYCTOAManagementSystemNewApi.Model.Tool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace GYCTOAManagementSystemNewApi.Model
{
    /// <summary>
    /// 项目主体信息实体
    /// </summary>
    public class Project : Operate
    {
        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectNumber { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

        /// <summary>
        /// 项目名称缩写
        /// </summary>
        public string ProjectNameSX { get; set; }

        /// <summary>
        /// 项目负责人
        /// </summary>
        public string HeadUserId { get; set; }
        /// <summary>
        /// 甲方信息
        /// </summary>
       // public string PartA { get; set; }
        /// <summary>
        /// 工程地址
        /// </summary>
        public string ProjectAddress { get; set; }
        /// <summary>
        /// 施工单位
        /// </summary>
        public string ConstructionUnit { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        #region 根据新需求新增字段 
        /// <summary>
        /// 预计合同额
        /// </summary> 
        public decimal? EstimatedContractAmount { get; set; }
        /// <summary>
        /// 管理费
        /// </summary>
        public decimal? Managementfee { get; set; }
        /// <summary>
        /// 管理费分摊到每年多少钱
        /// </summary>
        public string ManagementfeeFT { get; set; }
        /// <summary>
        /// 项目开始日期
        /// </summary>
        public DateTime? StartDate { set; get; }

        /// <summary>
        /// 项目结束日期
        /// </summary>
        public DateTime? EndDate { set; get; }

        /// <summary>
        /// 施工人员
        /// </summary>
        public string UserIds { set; get; }


        #endregion

        #region 项目财务报表所需新增字段
        /// <summary>
        /// 开票已收款
        /// </summary>
        public decimal CollectionAmount { get; set; }
        #endregion


        #region 0330项目会议修改


        /// <summary>
        /// 实际合同额(合同内+合同外)
        /// </summary> 
        public decimal? SettleMoney { get; set; }

        /// <summary>
        /// 合同内
        /// </summary> 
        public decimal? ContractamountInside { get; set; }

        /// <summary>
        /// 合同外
        /// </summary> 
        public decimal? ContractamountExternal { get; set; }

        /// <summary>
        /// 管理比例
        /// </summary>
        public decimal? Managementproportion { get; set; }

        
        /// <summary>
        /// 项目状态 0  进行中  1 完结
        /// </summary>
        public int ProjectStatus { get; set; } = 0;
        #endregion
    }
}
